//package com.bookmanager.www.controller.rabbitmq;
//
//import org.springframework.amqp.rabbit.annotation.Exchange;
//import org.springframework.amqp.rabbit.annotation.Queue;
//import org.springframework.amqp.rabbit.annotation.QueueBinding;
//import org.springframework.amqp.rabbit.annotation.RabbitListener;
//import org.springframework.stereotype.Component;
//
///**
// * Created with IntelliJ IDEA.
// *
// * @author: 风离
// * @Date: 2021/10/14/15:36
// * @Description:
// */
//@Component
//public class TopicsConsumer {
//
//    @RabbitListener(bindings = {
//            @QueueBinding(
//                    value = @Queue,
//                    exchange = @Exchange(
//                            value = "test-Topics",
//                            type = "topics"
//                    ),
//                    key={"qwq.#"}
//
//            )
//    })
//    public void testTopic1(String message)
//    {
//        System.out.println("topic1:"+message);
//    }
//}
